// export default function (store) {
//   return function (next) {
//     return function (action) {
//       console.log(action.type);
//     }
//   }
// }

// eslint-disable-next-line import/no-anonymous-default-export
export default store => next => action => {
  console.log(action.type);
  console.log(store);
  next(action);
}